export const COLOR_PRIMARY = '#1A6CFE';
export const BG_COLOR = '#F2F3F5';
export const COLOR_TEXT_BASE = '#222';
export const FORM_ITEM_HEIGHT_LG = 45;
export const FORM_ITEM_HEIGHT = 40;
export const FORM_ITEM_HEIGHT_SM = 26;
export const FORM_ITEM_PADDING = 8;
export const FORM_DISABLRD = '#777';
export const FORM_PLACEHOLDER = 'rgba(0, 0, 0, 0.35)';

const Token = {
  token: {
    fontSizeSM: 12,
    borderRadius: 2,
    colorPrimary: COLOR_PRIMARY,
    colorInfo: COLOR_PRIMARY,
    colorTextBase: COLOR_TEXT_BASE,
    colorBorder: '#d9d9d9',
    colorBg: BG_COLOR,
    padding: 30,
    paddingLG: 30,
    colorExcellent: '#e4ebfa', //优--颜色
    colorGood: '#508fff', //良--颜色
    colorAverage: '#56d433', //中--颜色
    colorPoor: '#fb4a58', //差--颜色
    colorOther: '#6E59F3', // 其他--颜色
  },
  components: {
    Table: {
      headerBg: BG_COLOR,
      lineType: '',
      cellPaddingBlock: 18,
      cellPaddingBlockMD: 12,
      cellPaddingBlockSM: 8,
      cellPaddingInline: 12,
      cellPaddingInlineMD: 12,
      cellPaddingInlineSM: 12,
    },
    Descriptions: {
      itemPaddingBottom: 20,
    },
    Modal: {
      borderRadiusLG: 7,
      borderRadiusSM: 7,
    },
    Menu: {
      iconMarginInlineEnd: 0,
    },
    Space: {
      paddingXS: 10,
    },
    Card: {
      headerHeight: 62,
    },
    Button: {
      textHoverBg: 'transparent',
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeight: FORM_ITEM_HEIGHT,
      controlHeightSM: 26,
      paddingInline: 23,
    },
    Breadcrumb: {
      itemColor: 'rgb(34, 34, 34)',
      linkColor: 'rgb(34, 34, 34)',
    },
    Form: {
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeight: FORM_ITEM_HEIGHT,
      controlHeightSM: FORM_ITEM_HEIGHT_SM,
      labelHeight: FORM_ITEM_HEIGHT,
    },
    Input: {
      paddingBlock: FORM_ITEM_PADDING,
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeightSM: FORM_ITEM_HEIGHT_SM,
      colorTextDisabled: FORM_DISABLRD,
      colorTextPlaceholder: FORM_PLACEHOLDER,
    },
    InputNumber: {
      paddingBlock: FORM_ITEM_PADDING,
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeightSM: FORM_ITEM_HEIGHT_SM,
      colorTextDisabled: FORM_DISABLRD,
      colorTextPlaceholder: FORM_PLACEHOLDER,
    },
    DatePicker: {
      controlHeight: FORM_ITEM_HEIGHT,
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeightSM: FORM_ITEM_HEIGHT_SM,
      colorTextDisabled: FORM_DISABLRD,
      colorTextPlaceholder: FORM_PLACEHOLDER,
    },
    Select: {
      controlHeight: FORM_ITEM_HEIGHT,
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeightSM: FORM_ITEM_HEIGHT_SM,
      colorTextDisabled: FORM_DISABLRD,
      colorTextPlaceholder: FORM_PLACEHOLDER,
    },
    Radio: {
      controlHeight: FORM_ITEM_HEIGHT,
      controlHeightLG: FORM_ITEM_HEIGHT_LG,
      controlHeightSM: FORM_ITEM_HEIGHT_SM,
      colorTextDisabled: FORM_DISABLRD,
      colorTextPlaceholder: FORM_PLACEHOLDER,
      buttonPaddingInline: 12,
    },
    Badge: {
      colorText: COLOR_TEXT_BASE,
    },
  },
};

export default Token;
